money = 50
money = money - 10
print("钱包还有多少钱:" , money)
print("钱包还有多少钱:" ,money)
print(type(money))

num_str = str(11)
print(type(num_str))

float_str =str(11.1)
print(type(float_str))

# str_num = int("我")
# print(type(str_num),str_num)
# 学习总结：
# -表示输出：print()
# -表示显示类型：type()
# -类型转换：str()
name = "\'"
print(name)
# 字串串占位
aname = "张叔叔"
kg = "123"
age = "12岁我叫%s%s " % (aname,kg)
print(age)
fla_num = 11
flb_num = 11.234
flc_num = 1234
print("整数精度为1，小数精度为2，显示%1.2f" %fla_num)
print("%1d" %flc_num)

print(f"{fla_num},{flb_num},{flc_num}")

# 使用表达式
print("1 * 1 的结果是： %d" %(1*1))
print(f"1 * 2 的结果是：{1 * 2}")
print("字符串在python的类型是：%s" %type("a"))

